test_str = """
SHENZHEN JIAYOU SCIENCE AND TECHNOLOGY LOGISTICS CO.,LTD
SHENZHEN LONGHUA DISTRICT LONGHUA STREET VIEW OF THEJADE DRAGON COMMUNITY ROAD 201, BUILDING 12 FO HAOTAI INDUSTRIAL ZONE DLT CHEN WEI 52125962
"""

def split_log_txt(str,max_len:int=63):
    full_str = str.replace('\n',' ')
    full_str_arr = full_str.split(' ')
    print(full_str_arr)
    full_str = ""
    line = 1
    for i in range(len(full_str_arr)):
        if len(full_str + full_str_arr[i]) > line*63:
            full_str += '\\n' + full_str_arr[i]
            line += 1
        else:
            full_str += ' '+ full_str_arr[i]
    return full_str.strip()




print(split_log_txt(test_str))